package com.will.rest.service;

import com.will.common.dto.ProductDto;
import com.will.common.response.AjaxResult;
import com.will.rest.service.impl.RepoServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

@FeignClient(value = "repo-service", fallback = RepoServiceImpl.class)
public interface IRepoService {

    @PutMapping("/repo/decreaseRepo")
    AjaxResult decreaseRepo(ProductDto productDto);
}
